﻿using System.Linq;
using System.Text;
using System.Diagnostics;
using System.Runtime.Serialization;
using System.Collections;
using System.Data;
using System.ComponentModel;
using System.Data.OracleClient;
using WPFExcelReport.Helpers;
using WPFExcelReport.Controls;
using System;
using System.Collections;
using System.Collections.Generic;
using System;
using System.ComponentModel;
using System.Data;
using System.Windows;
using ReflectionStudio.Core.Events;
namespace WPFExcelReport
{
    public partial class VLIEFDAT
    {
       public string NEWLS(Dictionary<string,object>pm)
        {
            dwData = TBMain.NewRow();
            SetUpNewRow(ref dwData, null);
            LFD = VSDDAT.SD22.GETNEXT("0022", "  ", "LIEFDAT");
            dwData["LSLIEFNR"] = Helpers.Helper.Right("00000000" + LFD, 8);
            if(pm.ContainsKey("LSLIEFNA"))
            {
                dwData["LSLIEFNA"] = ((string)pm["LSLIEFNA"]).PadRight(8);
                dwData["LSNAME1"]= ((string)pm["LSLIEFNA"]).PadRight(40);
            }
            Insert(dwData);
            return Helpers.Helper.Right("00000000" + LFD, 8);
        }
        public string CHKNEW(Dictionary<string, object> pm)
        {
            dwData = TBMain.NewRow();
            dwData["LSMANDANT"] = app.Mandant;
            dwData["LSLIEFNA"] = ((string)pm["LSLIEFNA"]).PadRight(8);
            SResult = QLSNAME(dwData);
            string LIEFNR = "";
            foreach (DataRow row in SResult.Tables[0].Rows)
            {
                LIEFNR = row["LSLIEFNR"].ToString(); 
            }
            if (LIEFNR.Length > 0)
                return LIEFNR;
            else
            {
                return NEWLS(pm);
            } 
        }
        public void Insert(DataRow _dwLS)
        {
            try
            {
                InsertLIEFDAT(_dwLS, app.company);
                TBMain.Rows.InsertAt(_dwLS, 0); 
            }
            catch (Exception ex)
            {
                Tracer.Error(ex.StackTrace, ex);
            }
        }
    }
   

    public partial class VLIEFDAT
    {
        VEKKOPF EKK;
        VLIEFKO KO;
        private DataRow _dwLS = null;
        public DataRow dwLS
        {
            get { return _dwLS; }
            set
            {
                _dwLS = value;
                if (_dwLS != null)
                {
                    LSNAME = _dwLS["LSNAME1"].ToString();
                }
                OnPropertyChanged("dwLS", value);
            }
        }
        private string _LSNAME = "";
        public string LSNAME
        {
            get { return _LSNAME; }
            set
            {
                _LSNAME = value;
                OnPropertyChanged("LSNAME", value);
            }
        }
        private string _LIEFNR = "";
        public string LIEFNR
        {
            get { return _LIEFNR; }
            set
            {
                _LIEFNR = value;
                OnPropertyChanged("LIEFNR", value);
            }
        }
        public string LSMANDANT { get { if (dwMaster == null) return ""; return dwMaster["LSMANDANT"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSMANDANT"] = value; OnPropertyChanged("LSMANDANT", value); } } //lENGth 2
        public string LSLIEFNR { get { if (dwMaster == null) return ""; return dwMaster["LSLIEFNR"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSLIEFNR"] = value; OnPropertyChanged("LSLIEFNR", value); } } //lENGth 8
        public string LSLIEFNA { get { if (dwMaster == null) return ""; return dwMaster["LSLIEFNA"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSLIEFNA"] = value; OnPropertyChanged("LSLIEFNA", value); } } //lENGth 10
        public string LSKREDNR { get { if (dwMaster == null) return ""; return dwMaster["LSKREDNR"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSKREDNR"] = value; OnPropertyChanged("LSKREDNR", value); } } //lENGth 8
        public string LSARTGR { get { if (dwMaster == null) return ""; return dwMaster["LSARTGR"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSARTGR"] = value; OnPropertyChanged("LSARTGR", value); } } //lENGth 1
        public string LSGRSCHL { get { if (dwMaster == null) return ""; return dwMaster["LSGRSCHL"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSGRSCHL"] = value; OnPropertyChanged("LSGRSCHL", value); } } //lENGth 3
        public string LSSTAKZ { get { if (dwMaster == null) return ""; return dwMaster["LSSTAKZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSSTAKZ"] = value; OnPropertyChanged("LSSTAKZ", value); } } //lENGth 1
        public string LSQUALKZ { get { if (dwMaster == null) return ""; return dwMaster["LSQUALKZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSQUALKZ"] = value; OnPropertyChanged("LSQUALKZ", value); } } //lENGth 1
        public string LSSPRACHKZ { get { if (dwMaster == null) return ""; return dwMaster["LSSPRACHKZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSSPRACHKZ"] = value; OnPropertyChanged("LSSPRACHKZ", value); } } //lENGth 1
        public string LSANREDE { get { if (dwMaster == null) return ""; return dwMaster["LSANREDE"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSANREDE"] = value; OnPropertyChanged("LSANREDE", value); } } //lENGth 1
        public string LSNAME1 { get { if (dwMaster == null) return ""; return dwMaster["LSNAME1"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSNAME1"] = value; OnPropertyChanged("LSNAME1", value); } } //lENGth 40
        public string LSNAME2 { get { if (dwMaster == null) return ""; return dwMaster["LSNAME2"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSNAME2"] = value; OnPropertyChanged("LSNAME2", value); } } //lENGth 40
        public string LSSTRASSE1 { get { if (dwMaster == null) return ""; return dwMaster["LSSTRASSE1"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSSTRASSE1"] = value; OnPropertyChanged("LSSTRASSE1", value); } } //lENGth 40
        public string LSSTRASSE2 { get { if (dwMaster == null) return ""; return dwMaster["LSSTRASSE2"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSSTRASSE2"] = value; OnPropertyChanged("LSSTRASSE2", value); } } //lENGth 40
        public string LSLAND { get { if (dwMaster == null) return ""; return dwMaster["LSLAND"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSLAND"] = value; OnPropertyChanged("LSLAND", value); } } //lENGth 3
        public string LSPLZ { get { if (dwMaster == null) return ""; return dwMaster["LSPLZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSPLZ"] = value; OnPropertyChanged("LSPLZ", value); } } //lENGth 12
        public string LSORT { get { if (dwMaster == null) return ""; return dwMaster["LSORT"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSORT"] = value; OnPropertyChanged("LSORT", value); } } //lENGth 40
        public string LSPOSTF { get { if (dwMaster == null) return ""; return dwMaster["LSPOSTF"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSPOSTF"] = value; OnPropertyChanged("LSPOSTF", value); } } //lENGth 15
        public string LSPLZPOSTF { get { if (dwMaster == null) return ""; return dwMaster["LSPLZPOSTF"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSPLZPOSTF"] = value; OnPropertyChanged("LSPLZPOSTF", value); } } //lENGth 12
        public string LSCOUNTY { get { if (dwMaster == null) return ""; return dwMaster["LSCOUNTY"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSCOUNTY"] = value; OnPropertyChanged("LSCOUNTY", value); } } //lENGth 4
        public string LSCITY { get { if (dwMaster == null) return ""; return dwMaster["LSCITY"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSCITY"] = value; OnPropertyChanged("LSCITY", value); } } //lENGth 4
        public string LSTEL { get { if (dwMaster == null) return ""; return dwMaster["LSTEL"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSTEL"] = value; OnPropertyChanged("LSTEL", value); } } //lENGth 20
        public string LSTELEX { get { if (dwMaster == null) return ""; return dwMaster["LSTELEX"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSTELEX"] = value; OnPropertyChanged("LSTELEX", value); } } //lENGth 20
        public string LSFAX { get { if (dwMaster == null) return ""; return dwMaster["LSFAX"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSFAX"] = value; OnPropertyChanged("LSFAX", value); } } //lENGth 20
        public string LSBTX { get { if (dwMaster == null) return ""; return dwMaster["LSBTX"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSBTX"] = value; OnPropertyChanged("LSBTX", value); } } //lENGth 40
        public string LSMOBIL { get { if (dwMaster == null) return ""; return dwMaster["LSMOBIL"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSMOBIL"] = value; OnPropertyChanged("LSMOBIL", value); } } //lENGth 20
        public string LSMAILADR { get { if (dwMaster == null) return ""; return dwMaster["LSMAILADR"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSMAILADR"] = value; OnPropertyChanged("LSMAILADR", value); } } //lENGth 40
        public string LSBEM { get { if (dwMaster == null) return ""; return dwMaster["LSBEM"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSBEM"] = value; OnPropertyChanged("LSBEM", value); } } //lENGth 40
        public string LSAPNA1 { get { if (dwMaster == null) return ""; return dwMaster["LSAPNA1"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSAPNA1"] = value; OnPropertyChanged("LSAPNA1", value); } } //lENGth 40
        public string LSAPBEZ1 { get { if (dwMaster == null) return ""; return dwMaster["LSAPBEZ1"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSAPBEZ1"] = value; OnPropertyChanged("LSAPBEZ1", value); } } //lENGth 40
        public string LSAPTEL1 { get { if (dwMaster == null) return ""; return dwMaster["LSAPTEL1"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSAPTEL1"] = value; OnPropertyChanged("LSAPTEL1", value); } } //lENGth 20
        public string LSAPNA2 { get { if (dwMaster == null) return ""; return dwMaster["LSAPNA2"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSAPNA2"] = value; OnPropertyChanged("LSAPNA2", value); } } //lENGth 40
        public string LSAPBEZ2 { get { if (dwMaster == null) return ""; return dwMaster["LSAPBEZ2"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSAPBEZ2"] = value; OnPropertyChanged("LSAPBEZ2", value); } } //lENGth 40
        public string LSAPTEL2 { get { if (dwMaster == null) return ""; return dwMaster["LSAPTEL2"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSAPTEL2"] = value; OnPropertyChanged("LSAPTEL2", value); } } //lENGth 20
        public string LSADRV1STD { get { if (dwMaster == null) return ""; return dwMaster["LSADRV1STD"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSADRV1STD"] = value; OnPropertyChanged("LSADRV1STD", value); } } //lENGth 8
        public string LSADRV2STD { get { if (dwMaster == null) return ""; return dwMaster["LSADRV2STD"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSADRV2STD"] = value; OnPropertyChanged("LSADRV2STD", value); } } //lENGth 8
        public string LSADRRUECKSTD { get { if (dwMaster == null) return ""; return dwMaster["LSADRRUECKSTD"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSADRRUECKSTD"] = value; OnPropertyChanged("LSADRRUECKSTD", value); } } //lENGth 8
        public string LSKONDSLSTD { get { if (dwMaster == null) return ""; return dwMaster["LSKONDSLSTD"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSKONDSLSTD"] = value; OnPropertyChanged("LSKONDSLSTD", value); } } //lENGth 4
        public string LSEGKZ { get { if (dwMaster == null) return ""; return dwMaster["LSEGKZ"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSEGKZ"] = value; OnPropertyChanged("LSEGKZ", value); } } //lENGth 1
        public string LSWAEHRSL { get { if (dwMaster == null) return ""; return dwMaster["LSWAEHRSL"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSWAEHRSL"] = value; OnPropertyChanged("LSWAEHRSL", value); } } //lENGth 3
        public string LSKDNRLIEF { get { if (dwMaster == null) return ""; return dwMaster["LSKDNRLIEF"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSKDNRLIEF"] = value; OnPropertyChanged("LSKDNRLIEF", value); } } //lENGth 10
        public double LSFRAGRE { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["LSFRAGRE"].ToString()); } set { if (dwMaster == null) return; dwMaster["LSFRAGRE"] = value; OnPropertyChanged("LSFRAGRE", value); } } //lENGth 0
        public double LSMINBST { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["LSMINBST"].ToString()); } set { if (dwMaster == null) return; dwMaster["LSMINBST"] = value; OnPropertyChanged("LSMINBST", value); } } //lENGth 0
        public string LSLO { get { if (dwMaster == null) return ""; return dwMaster["LSLO"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSLO"] = value; OnPropertyChanged("LSLO", value); } } //lENGth 2
        public string LSLB { get { if (dwMaster == null) return ""; return dwMaster["LSLB"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSLB"] = value; OnPropertyChanged("LSLB", value); } } //lENGth 2
        public string LSLP { get { if (dwMaster == null) return ""; return dwMaster["LSLP"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSLP"] = value; OnPropertyChanged("LSLP", value); } } //lENGth 8
        public string LSDEBNR { get { if (dwMaster == null) return ""; return dwMaster["LSDEBNR"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSDEBNR"] = value; OnPropertyChanged("LSDEBNR", value); } } //lENGth 8
        public double LSJJJJ1 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["LSJJJJ1"].ToString()); } set { if (dwMaster == null) return; dwMaster["LSJJJJ1"] = value; OnPropertyChanged("LSJJJJ1", value); } } //lENGth 0
        public string LSUMSATZ1 { get { if (dwMaster == null) return ""; return dwMaster["LSUMSATZ1"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSUMSATZ1"] = value; OnPropertyChanged("LSUMSATZ1", value); } } //lENGth 11
        public string LSGUTSCH1 { get { if (dwMaster == null) return ""; return dwMaster["LSGUTSCH1"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSGUTSCH1"] = value; OnPropertyChanged("LSGUTSCH1", value); } } //lENGth 11
        public double LSJJJJ2 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["LSJJJJ2"].ToString()); } set { if (dwMaster == null) return; dwMaster["LSJJJJ2"] = value; OnPropertyChanged("LSJJJJ2", value); } } //lENGth 0
        public string LSUMSATZ2 { get { if (dwMaster == null) return ""; return dwMaster["LSUMSATZ2"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSUMSATZ2"] = value; OnPropertyChanged("LSUMSATZ2", value); } } //lENGth 11
        public string LSGUTSCH2 { get { if (dwMaster == null) return ""; return dwMaster["LSGUTSCH2"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSGUTSCH2"] = value; OnPropertyChanged("LSGUTSCH2", value); } } //lENGth 11
        public double LSJJJJ3 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["LSJJJJ3"].ToString()); } set { if (dwMaster == null) return; dwMaster["LSJJJJ3"] = value; OnPropertyChanged("LSJJJJ3", value); } } //lENGth 0
        public string LSUMSATZ3 { get { if (dwMaster == null) return ""; return dwMaster["LSUMSATZ3"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSUMSATZ3"] = value; OnPropertyChanged("LSUMSATZ3", value); } } //lENGth 11
        public string LSGUTSCH3 { get { if (dwMaster == null) return ""; return dwMaster["LSGUTSCH3"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSGUTSCH3"] = value; OnPropertyChanged("LSGUTSCH3", value); } } //lENGth 11
        public string LSSALDO { get { if (dwMaster == null) return ""; return dwMaster["LSSALDO"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSSALDO"] = value; OnPropertyChanged("LSSALDO", value); } } //lENGth 11
        public string LSOBLIGO { get { if (dwMaster == null) return ""; return dwMaster["LSOBLIGO"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSOBLIGO"] = value; OnPropertyChanged("LSOBLIGO", value); } } //lENGth 11
        public double LSKREDLIM { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["LSKREDLIM"].ToString()); } set { if (dwMaster == null) return; dwMaster["LSKREDLIM"] = value; OnPropertyChanged("LSKREDLIM", value); } } //lENGth 0
        public string LSVERSNR { get { if (dwMaster == null) return ""; return dwMaster["LSVERSNR"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSVERSNR"] = value; OnPropertyChanged("LSVERSNR", value); } } //lENGth 10
        public string LSABCKL { get { if (dwMaster == null) return ""; return dwMaster["LSABCKL"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSABCKL"] = value; OnPropertyChanged("LSABCKL", value); } } //lENGth 1
        public string LSRECHBEM { get { if (dwMaster == null) return ""; return dwMaster["LSRECHBEM"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSRECHBEM"] = value; OnPropertyChanged("LSRECHBEM", value); } } //lENGth 40
        public double LSLIEFDAT { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["LSLIEFDAT"].ToString()); } set { if (dwMaster == null) return; dwMaster["LSLIEFDAT"] = value; OnPropertyChanged("LSLIEFDAT", value); } } //lENGth 0
        public double LSERINTAG { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["LSERINTAG"].ToString()); } set { if (dwMaster == null) return; dwMaster["LSERINTAG"] = value; OnPropertyChanged("LSERINTAG", value); } } //lENGth 0
        public string LSERINSL { get { if (dwMaster == null) return ""; return dwMaster["LSERINSL"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSERINSL"] = value; OnPropertyChanged("LSERINSL", value); } } //lENGth 2
        public string LSERINTXT { get { if (dwMaster == null) return ""; return dwMaster["LSERINTXT"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSERINTXT"] = value; OnPropertyChanged("LSERINTXT", value); } } //lENGth 5
        public double LSMAHNTAG1 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["LSMAHNTAG1"].ToString()); } set { if (dwMaster == null) return; dwMaster["LSMAHNTAG1"] = value; OnPropertyChanged("LSMAHNTAG1", value); } } //lENGth 0
        public string LSMAHNTXT1 { get { if (dwMaster == null) return ""; return dwMaster["LSMAHNTXT1"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSMAHNTXT1"] = value; OnPropertyChanged("LSMAHNTXT1", value); } } //lENGth 5
        public double LSMAHNTAG2 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["LSMAHNTAG2"].ToString()); } set { if (dwMaster == null) return; dwMaster["LSMAHNTAG2"] = value; OnPropertyChanged("LSMAHNTAG2", value); } } //lENGth 0
        public string LSMAHNTXT2 { get { if (dwMaster == null) return ""; return dwMaster["LSMAHNTXT2"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSMAHNTXT2"] = value; OnPropertyChanged("LSMAHNTXT2", value); } } //lENGth 5
        public double LSMAHNTAG3 { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["LSMAHNTAG3"].ToString()); } set { if (dwMaster == null) return; dwMaster["LSMAHNTAG3"] = value; OnPropertyChanged("LSMAHNTAG3", value); } } //lENGth 0
        public string LSMAHNTXT3 { get { if (dwMaster == null) return ""; return dwMaster["LSMAHNTXT3"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSMAHNTXT3"] = value; OnPropertyChanged("LSMAHNTXT3", value); } } //lENGth 5
        public string LSUIDNR { get { if (dwMaster == null) return ""; return dwMaster["LSUIDNR"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSUIDNR"] = value; OnPropertyChanged("LSUIDNR", value); } } //lENGth 20
        public string LSUMSVVJH { get { if (dwMaster == null) return ""; return dwMaster["LSUMSVVJH"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSUMSVVJH"] = value; OnPropertyChanged("LSUMSVVJH", value); } } //lENGth 11
        public string LSUMSVJH { get { if (dwMaster == null) return ""; return dwMaster["LSUMSVJH"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSUMSVJH"] = value; OnPropertyChanged("LSUMSVJH", value); } } //lENGth 11
        public string LSUMSLJH { get { if (dwMaster == null) return ""; return dwMaster["LSUMSLJH"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSUMSLJH"] = value; OnPropertyChanged("LSUMSLJH", value); } } //lENGth 11
        public string LSILN { get { if (dwMaster == null) return ""; return dwMaster["LSILN"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSILN"] = value; OnPropertyChanged("LSILN", value); } } //lENGth 13
        public double LSAENZL { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["LSAENZL"].ToString()); } set { if (dwMaster == null) return; dwMaster["LSAENZL"] = value; OnPropertyChanged("LSAENZL", value); } } //lENGth 0
        public string LSAENB { get { if (dwMaster == null) return ""; return dwMaster["LSAENB"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSAENB"] = value; OnPropertyChanged("LSAENB", value); } } //lENGth 8
        public double LSAEND { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["LSAEND"].ToString()); } set { if (dwMaster == null) return; dwMaster["LSAEND"] = value; OnPropertyChanged("LSAEND", value); } } //lENGth 0
        public string LSNEUB { get { if (dwMaster == null) return ""; return dwMaster["LSNEUB"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSNEUB"] = value; OnPropertyChanged("LSNEUB", value); } } //lENGth 8
        public double LSNEUD { get { if (dwMaster == null) return 0.0; return Convert.ToDouble(dwMaster["LSNEUD"].ToString()); } set { if (dwMaster == null) return; dwMaster["LSNEUD"] = value; OnPropertyChanged("LSNEUD", value); } } //lENGth 0
        public string LSSTEUER { get { if (dwMaster == null) return ""; return dwMaster["LSSTEUER"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSSTEUER"] = value; OnPropertyChanged("LSSTEUER", value); } } //lENGth 3
        public string LSEORI { get { if (dwMaster == null) return ""; return dwMaster["LSEORI"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSEORI"] = value; OnPropertyChanged("LSEORI", value); } } //lENGth 17
        public string LSFILLER { get { if (dwMaster == null) return ""; return dwMaster["LSFILLER"].ToString(); } set { if (dwMaster == null) return; dwMaster["LSFILLER"] = value; OnPropertyChanged("LSFILLER", value); } } //lENGth 49

    }
}
